package com.ext.aic.apis.user;

import com.ext.aic.apis.ApiCodes;
import com.ext.aic.beans.response.PreUploadResponse;

import io.github.eyinfo.okrx.annotations.BaseUrlTypeName;
import io.github.eyinfo.okrx.annotations.DataParam;
import io.github.eyinfo.okrx.annotations.GET;
import io.github.eyinfo.okrx.annotations.Param;
import io.github.eyinfo.okrx.beans.RetrofitParams;
import io.github.eyinfo.okrx.enums.RequestContentType;

@BaseUrlTypeName(value = ApiCodes.business, contentType = RequestContentType.Json)
public interface IUpdateRequest {
    @GET(value = "/api/attachments/upload-url")
    @DataParam(value = PreUploadResponse.class)
    RetrofitParams preUpload(@Param("resourceName") String resourceName);
}
